package com.easylinkin.linkappapi.space.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *     角色关联空间
 * </p>
 *
 * @author TongJie
 * @since 2021-01-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("linkapp_role_space")
public class RoleSpace extends Model<RoleSpace> {

    @TableId("id")
    private String id;

    /**
     * 空间id
     */
    @TableField("space_id")
    private String spaceId;

    /**
     * 角色id
     */
    @TableField("role_id")
    private String roleId;

    /**
     * 租户id
     */
    @TableField("tenant_id")
    private String tenantId;


}
